package com.homegoods.discover.model;

import com.homegoods.discover.item.LogisticsItem;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseModel;

/**
 * @author QiQi
 */
public class LogisticsModel extends BaseModel<LogisticsItem> {


    private String logisticsStatus;
    private String imageUrl;
    private String title;
    private String info;
    private String date;

    public String getLogisticsStatus() {
        return logisticsStatus == null ? "" : logisticsStatus;
    }

    public String getImageUrl() {
        return imageUrl == null ? "" : imageUrl;
    }

    public String getTitle() {
        return title == null ? "" : title;
    }

    public String getInfo() {
        return info == null ? "" : info;
    }


    public String getDate() {
        return date == null ? "" : date;
    }

    public void setLogisticsStatus(String logisticsStatus) {
        this.logisticsStatus = logisticsStatus;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public LogisticsItem createItem(MultiTypeAdapter adapter) {

        return new LogisticsItem(this, adapter);
    }

}
